{* $Id: 20110328 *}
<div id="page_clinics" class="clear content container transparent_area">

{if $pv.current.id eq 0}

<div id="clinics-list" class="vertical-list">
<ul class="m-b-0 m-r-0 borderless ui-widget-content">

{foreach $pv.data.list as $item}
<li class="clear noflow"><span class="span-4 height-150 noflow">
{if $item.image neq ''}
<img src="{$item.image}" alt="{$item.title}" class="display-image height-100" />
{else}
img
{/if}
</span><a href="{$item.link}" title="{$item.title}" class="span-16 m-t-20">{$item.title}</a>
</li>
{/foreach}

</ul>
{if $item@show}
<div class="clear height-20 transparent_bottom"></div>
{/if}
</div>
{if $item@show}
{capture "js_clinics"}
<script type="text/javascript">
$(function(){
	$('#wrapper #page_clinics #clinics-list img.display-image').each(function(){
		var _this = $(this);
		_this.attr('height',_this.height()).attr('width',_this.width());
	});
});
</script>
{/capture}
{/if}

{else}
<ul id="clinic-info" class="m-b-0 m-r-0 borderless ui-widget-content">
<li class="append-bottom"><span class="bold fs-16">{$pv.current.title}</span></li>

<li class="append-bottom"><img src="{$pv.current.image}" alt="{$pv.current.title}" /></li>
<li class="">{$pv.current.content}</li>
</ul>
<div class="clear height-20 transparent_bottom"></div>
{/if}
</div>